<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="header.jsp"></jsp:include>
<div class="container">
	<div class="row">
		<div class="offset1 span10 offset1">
			<table class="table table-striped table-bordered table-condensed">
				<thead>
					<tr>
						<th>订单编号</th>
						<th>购买用户</th>
						<th>电影名称</th>
						<th>放映厅</th>
						<th>放映时间</th>
						<th>放映日期</th>
						<th>购买日期</th>
						<th>票价</th>
					</tr>
				</thead>
				<c:forEach items="${ saleList }" var="sale">
					<tbody>
						<tr>
							<td>${ sale.id }</td>
							<td>${ sale.user.name }</td>
							<td>${ sale.timetable.movie.mName }</td>
							<td>${ sale.timetable.hall.id }</td>
							<td>${ sale.timetable.startTime }
							<td>${ sale.timetable.createDate }</td>
							<td>${ sale.createDate }</td>
							<td>${ sale.timetable.movie.mPrice }</td>
						</tr>
					</tbody>
				</c:forEach>
			</table>
			<div style="text-align:center">
				<a href="javascript:history.back(); " class="btn"> 返回 </a>
			</div>
		</div>
	</div>
</div>
<jsp:include page="footer.jsp"></jsp:include>